home *** CD-ROM | disk | FTP | other *** search
/ Hardcore Gamer Resource Kit / Hardcore Gamer Resource Kit - Disc 1.iso / homm / utilities / hmm2edit / HMMEDIT.TXT < prev   
Text File  |  1997-06-09  |  6KB  |  132 lines

  1.                  Heroes of Might & Magic Saved Game Editor v1.4
  2.  
  3. This is a simple Windows (v3.1 or better) saved game editor for HOMM II.
  4. In it's current version you can do the following things:
  5.         - Modify any of your resources (gold, ore, etc)
  6.         - Modify skills, army strengh, army types, Land/Sea movement and
  7.           and current spell points of any hero
  8.         - Modify Castle Troops, both type and strength.
  9.  
  10. I've tested the program on a number of saved files and it seems to work
  11. reliably.  Note though that you should always back up your saved game
  12. before making changes.  The program doesn't do this automatically (though
  13. I will probably add that feature), so you'll need to do it yourself.
  14.  
  15. I haven't tested this program on campaign saved files.  I have no idea if
  16. the structures are the same etc.  I haven't played campaign yet, so until
  17. I do, I won't bother creating an editor for it.
  18.  
  19. The program doesn't currently work with expansion set saved games.  I'm
  20. working on this.
  21.  
  22. The operation of the program is pretty straight forward.  When you run it,
  23. you are presented with the main dialog.  On it, you'll see 3 buttons along
  24. the top - Open Game, Save Game and Exit.  The rest of the Dialog is pretty
  25. self explanatory.  When you open a saved game, the list box marked
  26. "Hero List" is filled up with all the heroes in the game (there are always
  27. 54 heroes in a saved game).   Stats, army strength, army types, land/sea
  28. movement and current spell points are shown for the currently highlighted
  29. hero.  Below the Hero List is all the resources for the game.
  30.  
  31.  
  32. FILES NEEDED TO RUN THIS PROGRAM:
  33.  
  34. HMMEDIT.EXE - main executable
  35. CTL3DV2.DLL - This is a standard Windows DLL file
  36. BC450TRL.DLL - a Borland runtime DLL (I think I will compile under BC 3.1 next
  37.                time so no runtime DLL's are needed)
  38.  
  39. Here are a few details of operation:
  40.  
  41. GENERAL INFO:
  42. Here are rough maximum field values for the different things you can change
  43. with this program:
  44. Resources: At least 2 billion.  Possibly 4 billion.  I haven't tested the max.
  45. Army stacks: 32768
  46. Hero Stats: At least 127, possibly 255.  Haven't tested the max.
  47. Hero Spell Points: 65,536 max (wow!)
  48. Hero Movement:  This is a wierd one.  A full day of movement on land or sea for
  49.                 a hero is 1,000 movement points respectively.  Certain skills
  50.                 and artifacts will add to this base.  The max for these fields
  51.                 are 2 billion +/- each.  Enough to move across an entire map
  52.                 many times over!
  53. Castle Troops:  These work exactly that same as the heroes.
  54.  
  55. Note; the program doesn't do any error checking on these values.  So, if you
  56. enter 3 billion for the value of Gold, it's possible you'll end up with a
  57. negative value when you reload the game.
  58.  
  59. OPEN GAME
  60. This opens a standard file open dialog box with a filter (*.gm1) for HOMM
  61. saved games.  It starts in the directory the program was run from.  Simply
  62. select the saved game you want to edit.
  63.  
  64. When you open a game, you start with a clean slate.  If you had a previosuly
  65. opened game, all your changes will be discarded and replaced with the current
  66. game.  There is no warning on this, so if you make changes to a file, save
  67. them before opening a new file.
  68.  
  69. EDITING HEROES
  70. When you load up a game, the program creates a temporary working file
  71. containing all the inforamtion about all the heroes in the game.  As you
  72. scroll through the list of heroes, the editable stats for the hero are
  73. displayed.  The information is taken from the temp file.  Any changes you
  74. make to a hero are saved automatically in the temp file.  When you choose
  75. Save Game, all the changes you made to heroes are commited to the actual
  76. saved game file.
  77.  
  78. Regarding stats: I haven't tested the limits of the stats fields.  I know
  79. that they are 1 byte in length which means there is a potenial maximum value
  80. of 255 for any given stat.  It's possible though that the maximum is only 127
  81. (still a pretty damned good stat!).  Artifacts can also affect these stats,
  82. I don't know what would happen if you assigned a stat a max value and then
  83. had an artifact that increased beyond that max.
  84.  
  85. EDITING SECONDARY SKILLS
  86. If you click on Skills on the main dialog.  You will get another dialog with
  87. 14 drop down lists and 14 edit boxes.  The lists will show the current
  88. secondary skills for the hero and the edit boxes will contain a value from
  89. 0 - 3.  0 means the hero does not have this skill.  1 is basic, 2 advanced
  90. and 3 expert.  Each drop down box is accompanied by a corresponding edit box.
  91. Each set of combo/edit box represents an skill slot (just like in the game,
  92. you have 8 slots that can have a skill in them).  These are numbered 1-8 as
  93. you can only have 8 secondary skills (sorry, no way to edit that!).
  94.  
  95. It's important to note that my program is currently doing any error checking
  96. on these values.  I have no idea what might happen if you tried to set Slot 1
  97. as "No Skill" with a value of 9.  I suspect the program would crash.  So, with
  98. that in mind, make sure you fill out these fields logically. 
  99.  
  100. EDITING RESOURCES:
  101. This is pretty straight forward.  Simply replace the existing values with
  102. the new values.
  103.  
  104. EDITING CASTLES:
  105. This is basically the same as heroes.  Changes you make to Castle troops are
  106. saved internally, but not committed to the actual saved game until you click
  107. on save.
  108.  
  109. SAVING CHANGES:
  110. When you click on Save Game, all the changes you made to the heroes are
  111. written to the saved game file along with the values for all the resources.
  112.  
  113.  
  114. FUTURE REVISIONS:
  115. I'm sure I'll be making some more changes to this program.  I want to be able
  116. to edit every aspect of a hero, including skills, artifacts, etc.
  117. Reverse enginering the saved game file can be a bitch sometimes, so this will
  118. be another week or so.  When I make the changes, I'll upload it to the same
  119. web page.
  120.  
  121. Other things I will add:
  122.         - Map locations of Heroes
  123.         - Artifact editing for Heroes
  124.         - Wandering monster editor
  125.         - Other stuff I'm sure. 
  126.  
  127. SUPPORT:
  128. Well, this was just a hobby project, so don't expect stellar support.  I do
  129. answer my email in a timely manner though and if there is something I can
  130. help you with, I will.  If you'd like the source code, just ask.  You can
  131. reach my at phantasm@earthlink.net.
  132.